// 自动生成模板BcPhone
package bc

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// bcPhone表 结构体  BcPhone
type BcPhone struct {
	global.GVA_MODEL
	Phone       string `json:"phone" form:"phone" gorm:"column:phone;comment:手机号;size:255;"`                     //手机号
	ProjectId   int    `json:"projectId" form:"projectId" gorm:"column:project_id;comment:项目ID;size:19;"`        //项目ID
	ProjectName string `json:"projectName" form:"projectName" gorm:"column:project_name;comment:项目名称;size:255;"` //项目名称
}

type BcPhoneReq struct {
	ProjectId int    `json:"projectId" form:"projectId"` //项目ID
	Phone     string `json:"phone" form:"phone" `        //手机号
	Token     string `json:"token" form:"token" `        //项目id
}

// TableName bcPhone表 BcPhone自定义表名 bc_phone
func (BcPhone) TableName() string {
	return "bc_phone"
}
